Skip to content

Improve NAT-GW - #65

Merged
gtema merged 73 commits into
masterfrom
nat
Apr 14, 2020
Merged

Improve NAT-GW#65
gtema merged 73 commits into
masterfrom
nat

Conversation

@vineet-pruthi

Copy link
Copy Markdown
Contributor

No description provided.

@tischrei tischrei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Vineet, I have commented several smaller sections. I am not able to review the functional tests because I have never done those. Have you checked everything manually?

Comment thread otcextensions/osclient/nat/v2/dnat.py
Comment thread otcextensions/osclient/nat/v2/dnat.py Outdated
Comment thread otcextensions/osclient/nat/v2/gateway.py Outdated
Comment thread otcextensions/osclient/nat/v2/gateway.py Outdated
Comment thread otcextensions/osclient/nat/v2/snat.py Outdated
Comment thread otcextensions/osclient/nat/v2/snat.py Outdated
Comment thread otcextensions/osclient/nat/v2/snat.py Outdated
Comment thread otcextensions/sdk/nat/v2/snat.py Outdated
Comment thread doc/source/user/proxies/nat_v2.rst Outdated
Comment thread otcextensions/sdk/nat/v2/dnat.py Outdated
tischrei
tischrei previously approved these changes Mar 18, 2020
Comment thread doc/source/cli/nat.rst Outdated
Comment thread otcextensions/osclient/nat/v2/dnat.py
Comment thread otcextensions/sdk/__init__.py Outdated
Comment thread otcextensions/sdk/nat/v2/dnat.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/test_nat_gateway.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/test_snat_rule.py Outdated
Comment thread otcextensions/tests/unit/osclient/nat/v2/test_gateway.py Outdated
@gtema

gtema commented Mar 24, 2020

Copy link
Copy Markdown
Collaborator

recheck

@otc-zuul

otc-zuul Bot commented Mar 24, 2020

Copy link
Copy Markdown
Contributor

Build succeeded (check pipeline).

vladimirhasko
vladimirhasko previously approved these changes Mar 25, 2020
tischrei
tischrei previously approved these changes Mar 25, 2020

@gtema gtema left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While there are lots of typos - the crucial required change is rebase to current master, since you will drop some later changes in otcextensions/sdk/init.py

Comment thread otcextensions/osclient/nat/v2/dnat.py Outdated
Comment thread otcextensions/osclient/nat/v2/dnat.py Outdated
Comment thread otcextensions/osclient/nat/v2/dnat.py Outdated
Comment thread otcextensions/osclient/nat/v2/dnat.py Outdated
Comment thread otcextensions/osclient/nat/v2/dnat.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/test_nat_gateway.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/test_snat_rule.py Outdated
Comment thread otcextensions/tests/unit/osclient/nat/v2/fakes.py Outdated
Comment thread otcextensions/tests/unit/osclient/nat/v2/fakes.py Outdated
Comment thread otcextensions/tests/unit/osclient/nat/v2/test_dnat.py Outdated
@vineet-pruthi
vineet-pruthi dismissed stale reviews from tischrei and vladimirhasko via 1cab5eb March 26, 2020 09:53
@gtema gtema changed the title Merge NAT to master Improve NAT-GW Mar 30, 2020

@gtema gtema left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to carefully look at func tests again - cleanup is not working properly

Comment thread otcextensions/sdk/nat/v2/_proxy.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/common.py Outdated
@gtema

gtema commented Apr 3, 2020

Copy link
Copy Markdown
Collaborator

recheck

@otc-zuul

otc-zuul Bot commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

Build failed.

@gtema

gtema commented Apr 6, 2020

Copy link
Copy Markdown
Collaborator

recheck

@otc-zuul

otc-zuul Bot commented Apr 6, 2020

Copy link
Copy Markdown
Contributor

Build succeeded.

@gtema gtema left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please drop the setUpClass/tearDownClass from tests, this will conflict shortly with #73

Comment thread otcextensions/tests/functional/osclient/nat/v2/test_nat_gateway.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/test_snat_rule.py Outdated
Comment thread otcextensions/tests/functional/osclient/nat/v2/test_dnat_rule.py Outdated
@gtema

gtema commented Apr 13, 2020

Copy link
Copy Markdown
Collaborator

recheck

@gtema

gtema commented Apr 14, 2020

Copy link
Copy Markdown
Collaborator

/merge

@gtema
gtema merged commit 1ec684b into master Apr 14, 2020
@gtema
gtema deleted the nat branch April 14, 2020 11:14
vineet-pruthi added a commit to fkukucsk/python-otcextensions that referenced this pull request Nov 30, 2023
* initial nat gateway branche

* added snat and dnat resource

* dnat and snat proxy functions added

* first running state

* gateway fixed

* linting corrections

* Minor changes, tested successfully

* unittest nat.test_snat nat.test_dnat and nat.test_gateway added

* nat changes

* pep8 issues

* test_proxy.py added for NAT

* stash status changed and proxy test added

* Adding osclient code for nat

* Adding osclient code for nat

* Fixed error and adding unit tests for osclient

* Fixed error and adding unit tests for osclient

* Minor fix in unit test

* Minor fix in unit test

* Adding functional tests for nat_gateway

* Adding functional tests for nat_gateway

* Adding some more functional tests for nat

* Updated documentation for NAT

* Fixed nat.rst erros

* initial nat gateway branche

* added snat and dnat resource

* first running state

* gateway fixed

* linting corrections

* Minor changes, tested successfully

* nat changes

* Updated Functional Tests

* Usage of project_id in list nat functions query params

* Updated nat_gateway_id as keyword arg

* remove python2 dependancy from tox

* Updated args for show delete and update for NAT

* Updated travis.yml to skip py27 and include py37

* Fixed unit tests with updated args

* roll back py27 in tox.ini

* Fixed errors and remove nat documentation"

* Removed print

* initial nat gateway branche

* Adding osclient code for nat

* Adding osclient code for nat

* Fixed error and adding unit tests for osclient

* Fixed error and adding unit tests for osclient

* Minor fix in unit test

* Adding functional tests for nat_gateway

* Adding some more functional tests for nat

* Updated documentation for NAT

* Fixed nat.rst erros

* Updated Functional Tests

* Usage of project_id in list nat functions query params

* Updated nat_gateway_id as keyword arg

* remove python2 dependancy from tox

* Fixed unit tests with updated args

* roll back py27 in tox.ini

* Fixed errors and remove nat documentation"

* Removed print

* Checkout origin/master otcextensions/sdk/__init__.py

* Formatting Fixes and raise error if nat gateway not found

* Fixed osclient Unit Tests for nat

* Fixed docstring for nat fakes.py

* Updated osclient functional tests for nat

* Fixes in Functional Tests

* Updated Line breaks for help

* Added multiple delete support

* Fixed resource cleanup issue

* checkout doc/source/cli/index.rst with origin/master

* Adding NAT doc

* Minor correction

* Updated functional Tests

* fix for newer Sphinx

* do not append project_id in the nat service

Co-authored-by: T. Schreiber <tino.schreiber@t-systems.com>
Co-authored-by: Artem Goncharov <Artem.goncharov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants